package com.example.demo.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor@NoArgsConstructor
@TableName("page_config")
public class PageConfig {


    /**
     *
     */
    @TableId(type = IdType.AUTO)   // 关键：AUTO 代表数据库自
    private Integer id;



    @TableField("background_url")
    private String backgroundUrl;



    @TableField("title")
    private String title;



    @TableField("sub_title")
    private String subTitle;



    @TableField("speaker_content")
    private String speakerContent;



    @TableField("voice_code")
    private String voiceCode;








}
